/*
 * @Description: 响应拦截器 (用于修改 api response);
 * @Author: kanglin
 * @Date: 2018-08-06 14:41:50
 * @Copyright: Created by Panxsoft.
 */


// import API_LIST from 'src/API_LIST';

/**
 *  修改用户数据 user info
 */
// function userInfoInterceptor(response) {
// 	const url = response.request._url; // eslint-disable-line
// 	if (url.indexOf(API_LIST.H5_LOGIN) === 0) {
// 		Object.assign(response.data.wechat_user, {
// 			ali_account: 1,
// 		});
// 	}
// 	return response;
// }

export default function (response) {
	// const new_response = userInfoInterceptor(response);
	// return new_response;
	return response;
}
